package org.springframework.boot.tests.hibernate52.aoptest;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class MyAspect {

	@Pointcut("execution(void org.springframework.boot.tests.hibernate52.aoptest.MyPointcut.pointcut())")
	public void pointcut() {

	}


	@Before("pointcut()")
	public void before(){
		System.out.println("before MyPointcut>>>>>>>");
	}
}
